package com.intellagric.mapper;

import com.intellagric.pojo.TraceProduceCategory;
import com.intellagric.pojo.TraceProduceCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceProduceCategoryMapper {
    long countByExample(TraceProduceCategoryExample example);

    int deleteByExample(TraceProduceCategoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceProduceCategory record);

    int insertSelective(TraceProduceCategory record);

    List<TraceProduceCategory> selectByExample(TraceProduceCategoryExample example);

    TraceProduceCategory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceProduceCategory record, @Param("example") TraceProduceCategoryExample example);

    int updateByExample(@Param("record") TraceProduceCategory record, @Param("example") TraceProduceCategoryExample example);

    int updateByPrimaryKeySelective(TraceProduceCategory record);

    int updateByPrimaryKey(TraceProduceCategory record);
}